package com.qyhl.module_practice.team.list;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeIsVolunteerBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeTeamBean;

import java.util.List;

public interface PracticeTeamListContract {
    interface PracticeTeamListView {
        void setList(List<PracticeTeamBean> beanList, boolean isMore);

        void setSearchList(List<PracticeTeamBean> beanList, boolean isMore);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setError(String msg, boolean isMore);
    }

    interface PracticeTeamListPresenter {
        void getList(String page, String instId, boolean isStreet);

        void getVolTeamList(String volId);

        void getIsVolunteer(String phone);

        void doSearch(String keyword, String page);

        void setList(List<PracticeTeamBean> beanList, boolean isMore);

        void setSearchList(List<PracticeTeamBean> beanList, boolean isMore);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setError(String msg, boolean isMore);
    }

    interface PracticeTeamListModel {
        void getList(String page, String instId, boolean isStreet);

        void getVolTeamList(String volId);

        void getIsVolunteer(String phone);

        void doSearch(String keyword, String page);
    }
}
